1534080fa377f79cce14d8ffc1dac3facfe477ac,portal-web/test/com/liferay/portalweb/portlet/blogs/portlet/configureportletblogsscopecurrentpage/ViewPortletBlogsScopeCurrentPageTest.java,ViewPortletBlogsScopeCurrentPageTest,testViewPortletBlogsScopeCurrentPage,#,25
Before Change
catch (Exception e) {
}
Thread.sleep(1000);
}
assertEquals(RuntimeVariables.replace("Configuration"),
selenium.getText(
"//div[@class='lfr-component lfr-menu-list']/ul/li[contains(.,'Configuration')]/a"));
selenium.clickAt("//div[@class='lfr-component lfr-menu-list']/ul/li[contains(.,'Configuration')]/a",
RuntimeVariables.replace("Configuration"));
for (int second = 0;; second++) {
if (second >= 90) {
fail("timeout");
}
try {
if (selenium.isVisible(
"//iframe[@id='_33_configurationIframeDialog']")) {
break;
}
}
catch (Exception e) {
}
Thread.sleep(1000);
}
selenium.selectFrame("//iframe[@id='_33_configurationIframeDialog']");
for (int second = 0;; second++) {
if (second >= 90) {
fail("timeout");
}
try {
if (selenium.isElementPresent(
"//script[contains(@src,'/liferay/navigation_interaction.js')]")) {
break;
}
}
catch (Exception e) {
}
Thread.sleep(1000);
}
selenium.clickAt("link=Scope", RuntimeVariables.replace("Scope"));
for (int second = 0;; second++) {
if (second >= 90) {
fail("timeout");
}
try {
if (selenium.isVisible("//select[@id='_86_scopeType']")) {
break;
}
}
catch (Exception e) {
}
Thread.sleep(1000);
}
assertEquals("Select Page",
After Change
RuntimeVariables.replace("Configuration"));
selenium.waitForVisible("//iframe[@id='_33_configurationIframeDialog']");
selenium.selectFrame("//iframe[@id='_33_configurationIframeDialog']");
selenium.waitForElementPresent(
"//script[contains(@src,'/liferay/navigation_interaction.js')]");
selenium.clickAt("link=Scope", RuntimeVariables.replace("Scope"));
selenium.waitForVisible("//select[@id='_86_scopeType']");
assertEquals("Select Page",